package com.juqimiao.linn.event.mock;

import com.juqimiao.linn.event.EventHandler;
import com.juqimiao.linn.event.EventHandlerI;

@EventHandler
public class CustomerCreatedEventHandler implements EventHandlerI<CustomerCreatedEvent> {
    @Override
    public void execute(CustomerCreatedEvent event) {
        event.setTestMessage("nice");
        event.counter.getAndIncrement();
        System.out.println(event);
    }
}
